.create-article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;

  .ant-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  // 富文本编辑器样式
  .ql-editor {
    min-height: 400px;
    font-size: 16px;
    line-height: 1.6;
  }

  .ql-toolbar {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
  }

  .ql-container {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
  }

  // 操作按钮区域
  .action-buttons {
    margin-top: 24px;
    padding: 16px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #f0f0f0;

    .ant-btn {
      height: 40px;
      font-weight: 500;
    }
  }

  // 封面预览区域
  .cover-preview {
    margin-top: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 6px;
    text-align: center;

    .cover-image {
      max-width: 300px;
      width: 100%;
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
  }

  // 附件区域
  .attachments-section {
    margin-top: 32px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;

    .section-title {
      margin-bottom: 16px;
      color: #262626;
      font-weight: 600;
    }

    .upload-area {
      margin-bottom: 16px;
      
      .ant-btn {
        height: 40px;
      }
    }

    .attachment-list {
      .attachment-item {
        margin-bottom: 8px;
        transition: all 0.3s ease;

        &:hover {
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .attachment-info {
          .attachment-name {
            font-weight: 500;
            color: #262626;
          }

          .attachment-size {
            font-size: 12px;
            color: #8c8c8c;
          }
        }

        .attachment-actions {
          .ant-btn-link {
            padding: 0 8px;
            height: auto;
          }
        }
      }
    }
  }

  // 预览模态框样式
  .preview-modal {
    .ant-modal-content {
      border-radius: 8px;
    }

    .preview-content {
      max-height: 70vh;
      overflow-y: auto;
      padding: 16px;
      
      h1 {
        text-align: center;
        margin-bottom: 24px;
        color: #262626;
      }

      img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        margin: 16px 0;
      }
    }
  }

  // 文件预览器样式
  .file-viewer-container {
    height: 70vh;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 16px;

    .action-buttons {
      .ant-col {
        margin-bottom: 8px;
      }
    }

    .attachments-section {
      padding: 16px;
    }
  }

  // 加载状态
  .loading-container {
    text-align: center;
    padding: 100px 0;

    .ant-spin {
      margin-bottom: 16px;
    }

    .loading-text {
      color: #8c8c8c;
      font-size: 16px;
    }
  }
}